% !TEX root = ../latex-faq-cn.tex

\section{版面设计篇}

\faq{如何用fancyhdr宏包实现一粗一细的双线页眉}{fancyhdrtwoline}

\begin{texinlist}
\usepackage{fancyhdr}
\newcommand{\makeheadrule}{% 
\makebox[0pt][l]{\rule[.7\baselineskip]{\headwidth}{0.8pt}}%
\rule[.6\baselineskip]{\headwidth}{0.4pt}\vskip-.8\baselineskip}
\makeatletter \renewcommand{\headrule}{% 
{\if@fancyplain\let\headrulewidth\plainheadrulewidth\fi \makeheadrule}}\makeatother
\begin{document}
\pagestyle{fancy}
....
\end{document}
\end{texinlist}

%\faq{如何用fancyhdr宏包实现一粗一细的双线页眉}{fancyhdrtwoline}


